package com.yf.repo.modules.repo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
* <p>
* 题库定员实体类
* </p>
*
* @author 聪明笨狗
* @since 2022-02-11 10:42
*/
@Data
@TableName("el_repo_person")
public class RepoPerson extends Model<RepoPerson> {

    private static final long serialVersionUID = 1L;
    
    /**
    * 自然ID
    */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    
    /**
    * 题库ID
    */
    @TableField("repo_id")
    private String repoId;
    
    /**
    * 用户ID
    */
    @TableField("user_id")
    private String userId;
    
}
